<?php 
	$old_pass 	= $this->formText('old_password', $this->Item['old_password'], array('class'=>'txtmedium'));
        $new_pass 	= $this->formText('new_password', $this->Item['new_password'], array('class'=>'txtmedium'));
        $confirm_pass 	= $this->formText('confirm_password', $this->Item['confirm_password'], array('class'=>'txtmedium'));
        //------------------MESSAGE ERROR-----------------------
        if(count($this->messageError)>0){
                $errors = $this->formErrors($this->messageError, array('id'=>'errors'));
        } else {
            $errors = "";
        }
        
?>
<div id="content-box">
            <div class="border">
                <div class="padding">

                    <form name="appForm" method="post" action="">
                        <?php echo $this->render('changepass/sublink/index.php');?>
                        <div class="clr"></div>
                        <?php echo $errors;?>
                        <?php if ($this->messageSuccess != ''){
                                echo '<div class="success" id="success">'.$this->messageSuccess.'</div>';
                              }  
                        ?>
                        <!-- BEGIN: CONTENT -->
                        <div id="element-box">
                            <div class="t">
                                <div class="t">
                                    <div class="t"></div>
                                </div>
                            </div>
                            <div class="m" >
                                <div id="adminfieldset" >
                                    <div id="row">
                                        <div class="label">Old Password</div>
                                        <?php echo $old_pass; ?>
                                    </div>
                                    <div class="clr"></div>
                                    <div id="row">
                                        <div class="label">New Password</div>
                                        <?php echo $new_pass; ?>
                                    </div>
                                    <div class="clr"></div>
                                    <div id="row">
                                        <div class="label">Confirm Password</div>
                                        <?php echo $confirm_pass; ?>
                                    </div>
                                    <div class="clr"></div>
                                    <div id="row">
                                        <input class="button_submit" style="margin: 0 0 0 318px;" type="submit" value="Change Password" />
                                    </div>
                                    <div class="clr"></div>
                                </div>
                              
                            </div>
                            <div class="b">
                                <div class="b">
                                    <div class="b"></div>
                                </div>
                            </div>
                        </div>
                        <!-- END: 	CONTENT -->
                    </form>


                    <div class="clr"></div>
                </div>
                <div class="clr"></div>
            </div>
        </div>